package com.udima.reglocation.entities;

/**
 * Clase que almacena datos del recorrido
 * 
 * @author luis
 *
 */
public class Track {
    private double latitude;
    private double longitude;
    private double altitude;
    private float speed;
    private String time;
	
	public String getTime(){
		return this.time;
	}
	
	public Double getLatitude(){
		return this.latitude;
	}
	
	public Double getLongitude(){
		return this.longitude;
	}
	
	public Double getAltitude(){
		return this.altitude;
	}
	
	public Float getSpeed(){
		return this.speed;
	}
	
	public void setLatitude(Double latitude){
		this.latitude=latitude;
	}
	
	public void setLongitude(Double longitude){
		this.longitude=longitude;
	}
	
	public void setAltitude(Double altitude){
		this.altitude=altitude;
	}
	
	public void setTime(String time){
		this.time=time;
	}
	
	public void setSpeed(Float speed){
		this.speed=speed;
	}
	
	public void reset(){
		this.latitude  = 0;
		this.longitude = 0;
		this.altitude  = 0;
		this.speed     = 0;
	}
	
}
